﻿using NotifyCenter.Basic;

namespace NotifyCenter.Projects;
public class NotificationRule : Entity
{
    public string Name { get; set; } = "";
    public long ProjectId { get; set; }
    public string Description { get; set; } = "";
    public string Type { get; set; }
    public string ConfigurationJson { get; set; } = "{}";
    public bool EnableWebhook { get; set; } = false;
    public string WebhookUrl { get; set; } = "";
    public string WebhookSecret { get; set; } = "";
    public int MaxRetryTimes { get; set; } = 3;
}
